package com.example.stock.entity.eo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("st_create")
@Data
public class CreateEo {

    @TableId(type = IdType.AUTO)
    private Integer id;

    //名称
    @TableField("st_name")
    private String stName;

    //代码
    @TableField("st_code")
    private String stCode;

    //成本
    @TableField("st_price")
    private Double stPrice;

    //持仓
    @TableField("st_qty")
    private Double stQty;

    //单位
    @TableField("tr_unit")
    private Double trUnit;

    //时间
    @TableField("tr_Date")
    private LocalDateTime trDate;

    @TableField("ru_id")
    private Integer ruId;

    @TableField("ru_name")
    private String ruName;

}
